import request from '@/utils/request'

// 查询十大股东列表
export function listHolder10(query) {
  return request({
    url: '/enterprise/holder10/list',
    method: 'get',
    params: query
  })
}

// 查询十大股东详细
export function getHolder10(id) {
  return request({
    url: '/enterprise/holder10/' + id,
    method: 'get'
  })
}

// 新增十大股东
export function addHolder10(data) {
  return request({
    url: '/enterprise/holder10',
    method: 'post',
    data: data
  })
}

// 修改十大股东
export function updateHolder10(data) {
  return request({
    url: '/enterprise/holder10',
    method: 'put',
    data: data
  })
}

// 删除十大股东
export function delHolder10(id) {
  return request({
    url: '/enterprise/holder10/' + id,
    method: 'delete'
  })
}
